import request from '@/utils/request'

export default {
    //生成统计数据
    createStaData(day){
        return request({
            url: `/eduStatistics/statistics-daily/registerCount/${day}`,
            method: 'post'
        })
    },

    //获取统计数据
    getStaData(searchObj){
        return request({
            url: `/eduStatistics/statistics-daily/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get'
        })
    }
}